
<form method="post">
    <input type="hidden" name="type" value="{$video_info?'edit':'add'}"/>
    <input type="hidden" name="vid" value="{$video_info?$video_info.vid:''}"/>
    <table class="tableBasic" width="80%">
        <tbody>
        <tr>
            <th>视频分类</th>
            <td>
                <select  >
                    {volist name='cates' id='c'}
                    <option  value="{$c.id}">{$c.classtype}</option>
                    {/volist}
                </select>
            </td>
        </tr>
        <tr>
            <th>视频名称</th>
            <td><input type="text" value="{$video_info?$video_info.title:''}"></td>
        </tr>
        <tr>
            <th>视频封面</th>
            <td><input type="file" id="video_img"></td>
        </tr>
        <tr>
            <th>视频</th>
            <td><input type="text" value="{$video_info?$video_info.address:''}" id="video_location"></td>
        </tr>
        <tr>
            <th>视频简介</th>
            <td><input type="textarea" value="{$video_info?$video_info.body1:''}" id="video_content"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="button" class="btn" value="提交"></td>
        </tr>
        </tbody>
    </table>

</form>

